home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / gfx / nsIPrintSession.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  2KB  |  99 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIPrintSession.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIPrintSession_h__
  6. #define __gen_nsIPrintSession_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIPrintSession */
  19. #define NS_IPRINTSESSION_IID_STR "2f977d52-5485-11d4-87e2-0010a4e75ef2"
  20.  
  21. #define NS_IPRINTSESSION_IID \
  22.   {0x2f977d52, 0x5485, 0x11d4, \
  23.     { 0x87, 0xe2, 0x00, 0x10, 0xa4, 0xe7, 0x5e, 0xf2 }}
  24.  
  25. /**
  26.  * nsIPrintSession
  27.  *
  28.  * Stores data pertaining only to a single print job. This
  29.  * differs from nsIPrintSettings, which stores data which may
  30.  * be valid across a number of jobs.
  31.  *
  32.  * This interface is currently empty since, at this point, only
  33.  * platform-specific derived interfaces offer any functionality.
  34.  * It is here as a placeholder for when the printing session has
  35.  * XP functionality.
  36.  *
  37.  * The creation of a component which implements this interface
  38.  * will begin the session. Likewise, destruction of that object
  39.  * will end the session.
  40.  * 
  41.  * @status
  42.  */
  43. class NS_NO_VTABLE nsIPrintSession : public nsISupports {
  44.  public: 
  45.  
  46.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPRINTSESSION_IID)
  47.  
  48. };
  49.  
  50. /* Use this macro when declaring classes that implement this interface. */
  51. #define NS_DECL_NSIPRINTSESSION \
  52.   /* no methods! */
  53.  
  54. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  55. #define NS_FORWARD_NSIPRINTSESSION(_to) \
  56.   /* no methods! */
  57.  
  58. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  59. #define NS_FORWARD_SAFE_NSIPRINTSESSION(_to) \
  60.   /* no methods! */
  61.  
  62. #if 0
  63. /* Use the code below as a template for the implementation class for this interface. */
  64.  
  65. /* Header file */
  66. class nsPrintSession : public nsIPrintSession
  67. {
  68. public:
  69.   NS_DECL_ISUPPORTS
  70.   NS_DECL_NSIPRINTSESSION
  71.  
  72.   nsPrintSession();
  73.  
  74. private:
  75.   ~nsPrintSession();
  76.  
  77. protected:
  78.   /* additional members */
  79. };
  80.  
  81. /* Implementation file */
  82. NS_IMPL_ISUPPORTS1(nsPrintSession, nsIPrintSession)
  83.  
  84. nsPrintSession::nsPrintSession()
  85. {
  86.   /* member initializers and constructor code */
  87. }
  88.  
  89. nsPrintSession::~nsPrintSession()
  90. {
  91.   /* destructor code */
  92. }
  93.  
  94. /* End of implementation class template. */
  95. #endif
  96.  
  97.  
  98. #endif /* __gen_nsIPrintSession_h__ */
  99.